import { FormSchema } from '/@/components/BasicForm/type/form';

export const ecsForm: FormSchema[] = [
  {
    field: 'rootVolumeType',
    label: '系统盘磁盘类型',
    component: 'Input',
    componentProps: {
      placeHolder: '请输入系统盘磁盘类型',
    },
    labelWidth: 200,
    colProps: { span: 12 },
    required: true,
  },
  {
    field: 'rootVolumeSize',
    label: '系统盘磁盘大小',
    component: 'Input',
    componentProps: {
      placeHolder: '请输入系统盘磁盘大小',
    },
    labelWidth: 200,
    colProps: { span: 12 },
    required: true,
  },
  {
    field: 'dataVolumeType',
    label: '数据盘磁盘类型',
    component: 'Input',
    componentProps: {
      placeHolder: '请输入数据盘磁盘类型',
    },
    labelWidth: 200,
    colProps: { span: 12 },
    required: true,
  },
  {
    field: 'dataVolumeSize',
    label: '数据盘磁盘大小',
    component: 'Input',
    componentProps: {
      placeHolder: '请输入数据盘磁盘大小',
    },
    labelWidth: 200,
    colProps: { span: 12 },
    required: true,
  },
  {
    field: 'flavorRef',
    label: '系统规格ID',
    component: 'Input',
    componentProps: {
      placeHolder: '请输入系统规格ID',
    },
    labelWidth: 200,
    colProps: { span: 24 },
    required: true,
  },
  {
    field: 'imageRef',
    label: '操作系统镜像ID',
    component: 'Input',
    componentProps: {
      placeHolder: '请输入操作系统镜像ID',
    },
    labelWidth: 200,
    colProps: { span: 24 },
    required: true,
  },
  {
    field: 'iptype',
    label: '弹性IP地址类型',
    component: 'Input',
    componentProps: {
      placeHolder: '请输入弹性IP地址类型',
      options: [
        {
          label: '123',
          value: '123',
        },
      ],
    },
    labelWidth: 200,
    colProps: { span: 12 },
    required: true,
  },
  {
    field: 'sharetype',
    label: '带宽共享类型',
    component: 'Input',
    componentProps: {
      placeHolder: '请输入带宽共享类型',
      options: [
        {
          label: '123',
          value: '123',
        },
      ],
    },
    labelWidth: 200,
    colProps: { span: 12 },
    required: true,
  },
  {
    field: 'bandwidthSize',
    label: '带宽大小',
    component: 'Input',
    componentProps: {
      placeHolder: '请输入带宽大小',
      options: [
        {
          label: '123',
          value: '123',
        },
      ],
    },
    labelWidth: 200,
    colProps: { span: 24 },
    required: true,
  },
];
